import ajax from '@/api/ajax'

// 1,获取歌单的请求
export const reqGetPlayList = (Order, pn) => ajax.get(`/kuwo/playList?order=${Order}&rn=30&pn=${pn}`)
// 2，获取歌单分类列表的请求
export const reqGetTagPlayList = () => ajax.get('/kuwo/getTagList')
// 3，获取具体的分类的歌单的请求
export const reqGetTagPlayListDetail = (tagId) => ajax.get(`/kuwo/playList/getTagPlayList?id=${tagId}`)

// 4.根据歌单id获取歌单歌曲
export const reqGetSongList = (songId) => ajax.get(`/kuwo/musicList?pid=${songId}`)
